//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "tyr_halo\main.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

private ["_trg"];

if (tyr_halo_allowed <= 0) then {
	_trg=createTrigger["EmptyDetector",[0,0,0]];
	_trg setTriggerArea[0,0,0,false];
	_trg setTriggerStatements["(call tyr_halo_fnc_checkplayer)", "(call tyr_halo_fnc_addaction)", "(call tyr_halo_fnc_delaction)"];
} else {
	call tyr_halo_fnc_delaction;
};